/**
* 弹窗组件，使用： this.$store.dispatch('setModal',{visible:true，modalId:'modlaId'}); 注意this指向的上下文环境，有时候是写self或其它
*/
<template>
  <transition name="slide-fade">
    <div v-if="modal.visible && modal.modalId=='groupEmptyModal'" class="modal" id="groupEmptyModal" tabindex="-1" @click.stop.prevent="modalHide">
      <div class="modal-dialog" @click.stop.prevent>
        <div class="modal-content">
          <img src="~assets/images/tankuang-l@2x.png" class="img-responsive">
          <img src="~assets/images/close@2x.png" data-dismiss="modal" class="img-close" @click.stop.prevent="modalHide">
          <div class="oxhead">
            <img src="http://dl.app.gtja.com/nrng/shareimages/oxhead/niuyumen.png">
          </div>
          <div class="wrapper">
            <h4>您有一个组合<br>已经<span>空仓</span>许久...</h4>
            <p>大王，您的组合 <span class="groupName"></span> 这不是一个组合。已经空仓很久了，如果空仓超过7天，系统君会自动关停该组合，建议您尽快调仓呢~</p>
            <button type="button" class="btn btn-lg" id="toSeeGroup">带朕去看看</button>
            <button type="button" class="btn btn-lg btn-reject" @click.stop.prevent="modalHide">无视</button>
          </div>
        </div>
      </div>
    </div>
  </transition>
</template>

<script>
  import BaseModal from 'components/modal/BaseModal'

  export default {
    data () {
      return {}
    },
    extends:BaseModal
  }
</script>

<style scoped>
  .slide-fade-enter-active,.slide-fade-leave-active{
    transition: all 0.3s ease;
  }
  .slide-fade-enter, .slide-fade-leave-active {
    transform: translate(0,-25%);
    opacity: 0;
  }
</style>
